<?php

use think\facade\Route;

Route::get("/","index/Index/index")->middleware("Login");
Route::get("getTime","index/Index/getTime");
Route::get("getSecKillPath","index/Index/getSecKillPath");
Route::rule("go/:url/order","index/Index/order","get|post");
Route::rule("addGoods","index/Index/addGoods","get");
Route::rule("login","index/User/login","get|post");
Route::rule("register","index/User/register","get|post");
Route::get("logout","index/User/logout");